home *** CD-ROM | disk | FTP | other *** search
/ Mastering Web Site Development / Microsoft Mastering Web Site Development (Microsoft) (1997).iso / Media / Ch02 / W02A020.cc2 < prev    next >
Encoding:
Text File  |  1997-04-24  |  2.1 KB  |  40 lines

  1. 0, In this animation, you will see how you can create 
  2. 8, Web sites that use script and components on both 
  3. 11, the client and the server. Let's look at each of 
  4. 15, these in more detail. You can place controls and 
  5. 20, scripting on the client. Controls are self-contained 
  6. 23, applications that can be placed on a Web page. 
  7. 26, They are either ActiveX controls or Java applets. 
  8. 32, Users can interact with controls to submit 
  9. 35, information or simply to use the functionality of the 
  10. 38, control. For example, you can include a calendar 
  11. 43, control on a Web page so a user can select a date for an 
  12. 46, order to be delivered. Client-side script is 
  13. 51, embedded in a Web page and runs on a user's computer. 
  14. 55, You can write script that runs in response to a 
  15. 57, user's interaction with a control. The script can 
  16. 60, retrieve user input from a control, process it, and 
  17. 64, set values for other controls based on the input. 
  18. 69, For example, when the user selects a date on the 
  19. 72, calendar, the client-side script calculates the 
  20. 75, shipping cost and shipping method that will deliver 
  21. 78, the product on time. A Web server can also use 
  22. 83, script and components. By running server-side script 
  23. 87, and calling business objects, the server-side 
  24. 89, script can create HTML responses on the fly. A Web page 
  25. 95, that contains server-side script is an Active 
  26. 98, Server Page. When a user requests an Active Server 
  27. 102, Page, the server-side script will run on the Web 
  28. 105, server. In this example, a user submits the shipping 
  29. 110, form to an Active Server Page and the server-side 
  30. 114, script reads the values of the controls on the 
  31. 116, form, such as the calculated shipping cost and 
  32. 119, shipping method. Server-side script can also call 
  33. 124, businsess objects or ActiveX server components. In this 
  34. 129, example, the ActiveX server component creates a 
  35. 133, unique confirmation number for an order. The Active 
  36. 136, Server Page then incorporates this confirmation 
  37. 139, into the HTML response. When the script on the 
  38. 143, Active Server Page has finished running, the HTML 
  39. 146, response will be returned to the user.
  40. 150, END